import _Fetch from '@/server/Fetch'
import { API_POST_EVALUATION } from '@/api/evaluation/get_evaluation_info'
import { API_POST_SUBMIT_TEST } from '@/api/evaluation/post_submit_test'

export async function get_evaluation_info_api(id: number) {
  return await _Fetch(API_POST_EVALUATION, { questionNameId: id })
}
export async function submit_test_api(id: number, arr) {
  return await _Fetch(API_POST_SUBMIT_TEST, { questionNameId: id, options: arr })
}
